Refactor gdk_gl_context_upload_texture slightly
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 Sep 2021 23:50:09 +0000 (19:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 11 Sep 2021 02:17:31 +0000 (22:17 -0400)
commitc1c1d4431ded3e6bf6354ff1d5dd8506fb90eb2d
treefb98e418845e0834a2ce95f3a2f7256a924a7493
parent155a4fac5cc668e3142ed62803bd38c80c1f38c2
Refactor gdk_gl_context_upload_texture slightly

Introduce a gl_internalformat variable. This will
let us handle more formats in a uniform way in
future commits.
gdk/gdkglcontext.c